<template>
<div class="wrap">
		<view class="top">
			<view class="title">沂蒙乡村振兴投稿系统V1.0</view>
		</view>
       <view class="content">
			<!-- 两个标题 -->
			<div>
				<view class="zuo">
					<navigator url="../login/login"><u-tabs  :list="tabList" :is-scroll="false" :bar-style="barStyle"></u-tabs></navigator>
				</view>
				<view class="you" >
					 <u-tabs  :list="tabList2" :is-scroll="false" > </u-tabs>
				</view>
				<!-- 手机号登陆 -->
				<div>
				<view class="username">
					<u-input  v-model="username" type="text" height="70" :border="true" placeholder="手机号" />
				</view>
				<view class="password">
					<u-input v-model="password" type="password"  height="70"  :border="true" placeholder="验证码" />
				</view>
				<div style="text-align: right; margin-top: -56px;">
				<button class="cu-btn code-btn" :disabled="code.status" @tap="getCode">{{ code.text }}</button>
				</div>
				</div>
				<button @tap="login" class="getCaptcha">登录</button>
				<view class="Forget">
					<navigator url="../verification/verification">忘记密码</navigator> 
				</view>
			</div>		
		</view>
		<view class="bottom">Copyright 2021高职院校沂蒙乡村振兴投稿系统</view>
	</div>
</template>

<script>
	import api from '../../util/api.js'
	import request from '../../util/request.js'
	
	export default {
		data() {
			return {
				barStyle:{backgroundColor:'#ffffff'},
				code: {
					text: '获取验证码',
					status: false,
					value: ''
				},
				tabList: [{
						name: '账号密码登陆',
					},
				],
				tabList2: [{
						name: '手机号登陆',
					},
				],
				current: 0,
				username: '',
				password: '',
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.top {
		background-size: 100% 100%;
		height: 320rpx;
		width: 770px;
		text-align: center;
		padding-top: 35rpx;
	}
	.logo{
		width: 600rpx;
		height: 200rpx;
	}
	.title {
		font-size: 50rpx;
		margin: 0px auto;
		color: #ffffff;
		font-weight: bold;
	}
	.zuo{
		margin-left: 50px;
		margin-bottom: 40rpx;
		width: 310px;
		display: inline-block;
	}
	.you{
		margin-bottom: 40rpx;
		display: inline-block;
		width: 150px;
		}
	.username{
		margin-bottom: 20rpx;
	}
	.password{
		margin-bottom: 40rpx;
		width: 380px;
	}
	.wrap {
		font-size: 28rpx;
		background: url() no-repeat;
		background-size: 310%;
		height: 1335px;
		.content {
			border-radius: 20px;
			box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
			width: 650rpx;
			margin: 80rpx auto;
			padding: 40px 20rpx;
			padding-top: 30rpx;
			margin-top: -50rpx;
			margin-left: 50px;
			background-color: #FFFFFF;

			input {
				text-align: left;
				margin-bottom: 10rpx;
				padding-bottom: 60rpx;

			}
			.getCaptcha {
				background-color: #F1F1F1;
				color: $u-tips-color;
				border: none;
				font-size: 29rpx;
				padding: 12rpx 0;
				margin-top: 40px;
			
				&::after {
					border: none;
				}
			}
			.Forget{
				color: #007AFF;
				margin-top: 20px;
				margin-left: 500px;
				font-size: 25px;
			}
			.code-btn {
		background: none;
		font-size: 28rpx;
		color: #845708;
		border-left: 1rpx solid #d0b17b;
		height: 42rpx;
		width: 190rpx;
		padding: 0;
	}
	.cu-btn {
		border: 0upx;
		display: inline-flex;
		align-items: center;
		box-sizing: border-box;
		padding: 0 30upx;
		font-size: 28upx;
		height: 64upx;
		line-height: 1;
		text-align: center;
		text-decoration: none;
		overflow: visible;
		margin-left: initial;
		transform: translate(0upx, 0upx);
		margin-right: initial;
		margin-top: 25px;
	}
			

		}

	}
	
	.bottom{
		position: fixed;
		bottom: 0rpx;
		justify-content: center;
		width: 100%;
		margin: 0 auto;
	}
</style>
